package com.tpp.user.client;

import com.tpp.comm.client.LinkUserClient;
import com.tpp.comm.pojo.TpLinkUser;
import com.tpp.user.mapper.LinkUserMapper;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class LinkUserClientImpl implements LinkUserClient {

    @Resource
    private LinkUserMapper linkUserMapper;

    @Override
    public TpLinkUser findById(Long id) {
        TpLinkUser tpLinkUser = linkUserMapper.selectById(id);
        return tpLinkUser;
    }
}
